package com.zhz.company.contract.excel;

import com.zhz.common.tool.excel.annotation.Cell;
import com.zhz.common.tool.excel.annotation.Sheet;
import com.zhz.common.tool.excel.annotation.Title;
import com.zhz.common.tool.excel.resolver.ExcelAble;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Copyright (C) @2019 GuangDong Eshore Technology Co. Ltd
 *
 * @author: Administrator
 * @version: 1.0
 * @date: 2019/8/9
 * @time: 12:05
 * @description:
 */
@Data
@Sheet(name = "用户")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Title(value = "用户列表数据",heightInPoints = 30)
public class UserExcel implements ExcelAble {

    @Cell(value = "ID")
    private String id;

    @Cell(value = "用户ID")
    private String userId;

    @Cell(value = "用户名称" )
    private String userName;


    @Cell(value = "创建时间",format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Cell(value = "创建时间",format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
